package com.javaerschool.lero.vo;

import java.io.Serializable;

/**
 * 作者: lero
 * 日期：2018/7/27
 */

public class BaseVo implements Serializable{
    private int  currentPage;
    private int  pageSize;
    public  BaseVo(){
        this.currentPage=1;
        this.pageSize=2;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    @Override
    public String toString() {
        return "BaseVo{" +
                "currentPage=" + currentPage +
                ", pageSize=" + pageSize +
                '}';
    }
}
